<template>
  <div class="m-search">
    <div class="m-search-comtainer">
      <input type="text" />
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#iconsearch" />
      </svg>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss">
@media screen and (max-width: 576px) {
  .m-search {
    width: 100%;
    height: 100%;
    &-comtainer {
      width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: center;
      input {
        box-sizing: border-box;
        border-radius: 24px;
        text-indent: 10px;
        color: #666;
        background-color: rgba(0,0,0,.04);
        height: 30px;
        width: 100%;
        outline: none;
        border: none;
      }
      .icon {
        position: absolute;
        fill: #777;
        right: 10px;
        top: 0;
        top: 50%;
        margin-top: -8px;
        width: 16px;
        height: 16px;
      }
    }
  }
}
</style>